package com.datang.petstore.entity;

import java.io.Serializable;
import java.util.Date;

public class LoginRecord implements Serializable {
    private Integer id;

    private String userId;

    private String facilitySystem;

    private String facilityModel;

    private Date loginDate;

    private String loginAddress;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getFacilitySystem() {
        return facilitySystem;
    }

    public void setFacilitySystem(String facilitySystem) {
        this.facilitySystem = facilitySystem == null ? null : facilitySystem.trim();
    }

    public String getFacilityModel() {
        return facilityModel;
    }

    public void setFacilityModel(String facilityModel) {
        this.facilityModel = facilityModel == null ? null : facilityModel.trim();
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getLoginAddress() {
        return loginAddress;
    }

    public void setLoginAddress(String loginAddress) {
        this.loginAddress = loginAddress == null ? null : loginAddress.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", facilitySystem=").append(facilitySystem);
        sb.append(", facilityModel=").append(facilityModel);
        sb.append(", loginDate=").append(loginDate);
        sb.append(", loginAddress=").append(loginAddress);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}